<?php
class Category extends DataMapper {
	var $has_one = array();
	var $has_many = array(
            'course' => array('join_table' => 'courses_categories'),
            'article' => array('join_table' => 'articles_categories')
            );

        var $validation = array();

        function __construct($id = NULL)
        {
            parent::__construct($id);
        }


}

/* End of file category.php */
/* Location: ./application/models/category.php */
